<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
  <script src="lib/react.development.js"></script>
  <script src="lib/react-dom.development.js"></script>
  <script src="lib/prop-types.js"></script>
  <script src="lib/babel.min.js"></script>
</head>
<body>
<div id="root"></div>
</body>
<script type="text/babel">
  const root = ReactDOM.createRoot(document.querySelector("#root"));
  class Box extends React.Component{
    render(){
      return (
              <div>
                <App a={1} b={2} c={321}/>
              </div>
      )
    }
  }
  class App extends React.Component{
    static propTypes={
      a:PropTypes.number,
      c:PropTypes.number.isRequired
    }
    static defaultProps={
      d:123
    }
    render(){
      return (
              <div>
                <p>{this.props.a}</p>
                <p>{this.props.b}</p>
                <p>{this.props.c}</p>
                <p>{this.props.d}</p>
              </div>
      )
    }
  }
  root.render(<Box/>)
</script>
</html>